FROM openjdk:8-jre-slim
COPY mydockercompose.jar /app.jar
#ENTRYPOINT ["java", "-jar", "/app.jar"]
ENTRYPOINT ["sh", "-c", "java -jar /app.jar >> /var/log/mydockercompose-$(date +%Y-%m-%d).log 2>&1"]